package com.mog.api.feignClients;

import com.mog.api.config.FeignClientConfig;
import entity.resullt.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

@FeignClient(value = "common-service", path = "/common", configuration = FeignClientConfig.class)
public interface CommonClient {
    @PostMapping("/upload")
    Result<String> upload(MultipartFile file);

}
